using System;
using System.Collections.Generic;
using System.Text;

namespace NBusiness.Query
{
    public interface ISource : IFrom, ISelectable, IJoinable
    {
        string Alias { get; set; }

        ISelect Where(IExpression expression);
        ISelect OrderBy(SortOrder order, params IColumn[] columns);
        ISelect GroupBy(params IColumn[] groupBy);
        ISelect Select(params ISelectable[] selectable);
    }
}
